/* GUI CONVERTED from rsschcka.p (converter v1.76) Wed Dec 12 05:48:21 2001 */
/* rsschcka.p - Supplier Schedules - Check for schedule in remote db          */
/* Copyright 1986-2002 QAD Inc., Carpinteria, CA, USA.                        */
/* All rights reserved worldwide.  This is an unpublished work.               */
/* $Revision: 1.3.1.2 $                                                       */
/*V8:ConvertMode=Maintenance                                                  */
/* REVISION: 7.3    LAST MODIFIED: 04/25/94      BY: WUG *GJ59*               */
/* REVISION: 8.6    LAST MODIFIED: 05/20/98      BY: *K1Q4* Alfred Tan        */
/* REVISION: 9.1    LAST MODIFIED: 08/12/00      BY: *N0KP* Mark Brown        */
/* Old ECO marker removed, but no ECO header exists *F0PN*                    */
/* $Revision: 1.3.1.2 $  BY: Jean Miller         DATE: 12/07/01  ECO: *P03F*  */
/******************************************************************************/
/* All patch markers and commented out code have been removed from the source */
/* code below. For all future modifications to this file, any code which is   */
/* no longer required should be deleted and no in-line patch markers should   */
/* be added.  The ECO marker should only be included in the Revision History. */
/******************************************************************************/

/* CHECK FOR EXISTENCE OF A SCHEDULE IN REMOTE DATABASE */

define input  parameter ponbr as character.
define input  parameter podline as integer.
define output parameter schedule_found like mfc_logical.

find first sch_mstr where
   sch_type = 4 and
   sch_nbr = ponbr and
   sch_line = podline
no-lock no-error.

schedule_found = available sch_mstr.
